V2EX  ›  英汉词典

Carriage Return

释义 Definition

carriage return:回车;(计算机/打字机)使光标或打印头回到行首的动作或控制字符,常记为 CR,在许多系统中对应转义表示 **\r**。在部分文本格式中,CR 常与 line feed(LF,\n 配合表示换行(如 CRLF)。

发音 Pronunciation

/ˈkærɪdʒ rɪˈtɝːn/

例句 Examples

Press Enter to insert a carriage return.
按下回车键以插入一个回车(回到行首)。

In older file formats, a new line is represented by carriage return plus line feed, which can cause display issues when moving text between operating systems.
在较旧的文件格式中,换行用“回车 + 换行(CRLF)”表示,这会导致文本在不同操作系统之间传输时出现显示问题。

词源 Etymology

carriage 原指打字机上承载纸张并横向移动的“滑架/字车”,return 是“返回”。在打字机时代,按下回车会让字车“返回”到行首;后来这一概念被沿用到计算机文本处理中,成为表示回到行首的控制符(CR)。

相关词 Related Words

文学与著作 Literary Works

  • The Unicode Standard(涉及 CR、LF 等控制字符的定义与用法)
  • The C Programming Language(Kernighan & Ritchie)(讨论转义序列如 \r\n 等)
  • TCP/IP Illustrated, Volume 1(Stevens)(在网络文本协议/行结束符背景中常提及 CRLF/回车换行)
  • RFC 5322: Internet Message Format(规定电子邮件头与正文的行结束使用 CRLF)
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   849 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 14ms · UTC 18:45 · PVG 02:45 · LAX 10:45 · JFK 13:45
♥ Do have faith in what you're doing.